﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Soft
{
    public class ResultCarrierData<T> : ResultData<T>
    {
        public ResultCarrierData()
        {
        }

        public ResultCarrierData(IResult result) : base(result)
        {
        }

        public ResultCarrierData(string error) : base(error)
        {
        }

        public ResultCarrierData(Exception e) : base(e)
        {
        }

      
        /// <summary>
        /// 调用时长
        /// </summary>
        public long CallMilliseconds { get; set; }


        /// <summary>
        /// 传输时长
        /// </summary>
        public long TransmittedMilliseconds { get; set; }


    }
}
